<?php
class DatalistAction extends IntesysAction {

    function _initialize(){
        parent::_initialize();
        $this->dao = D('Member');// 编辑、删除操作需要
    }
    public function memberposition(){
        $map = "site_id = ". __SITEID__ ." and position_id > 0";
        if($this -> _get('keywords')){
            $map .= " and name like '%".$this->_get('keywords')."%'";
        }
        $this->list = M('Member') -> where($map) -> select();
        $this->display();
    }
}